import React from 'react';
import PropTypes from 'prop-types';

export default function Icon({ className, grade }) {
	return (
		<svg
			width="16px"
			height="18px"
			viewBox="0 0 16 18"
			version="1.1"
			xmlns="http://www.w3.org/2000/svg"
			xmlnsXlink="http://www.w3.org/1999/xlink"
		>
			<desc>Created with Sketch.</desc>
			<g
				id="页面-1"
				stroke="none"
				strokeWidth="1"
				fill="none"
				fillRule="evenodd"
			>
				<g
					id="内容监测-监测详情"
					transform="translate(-350.000000, -279.000000)"
				>
					<g id="危险等级" transform="translate(346.000000, 276.000000)">
						<path
							d="M12,6.75 C15.3137085,6.75 18,9.4362915 18,12.75 L17.9997597,19.49925 L19.5,19.5 L19.5,21 L4.5,21 L4.5,19.5 L5.99975974,19.49925 L6,12.75 C6,9.4362915 8.6862915,6.75 12,6.75 Z M12,8.25 C9.57120229,8.25 7.59182118,10.1741812 7.50310385,12.5813461 L7.5,12.7500534 L7.49925,19.5 L16.49925,19.5 L16.5,12.75 C16.5,10.2647186 14.4852814,8.25 12,8.25 Z M13.1718017,10.681081 L12.2716024,13.7237826 L14.4750546,13.7237826 L10.7483634,17.796294 L11.6834455,14.72766 L9.5425588,14.72766 L13.1718017,10.681081 Z M18.5303301,5.15900974 L19.5909903,6.21966991 L17.4696699,8.34099026 L16.4090097,7.28033009 L18.5303301,5.15900974 Z M5.46966991,5.15900974 L7.59099026,7.28033009 L6.53033009,8.34099026 L4.40900974,6.21966991 L5.46966991,5.15900974 Z M12.75,3 L12.75,6 L11.25,6 L11.25,3 L12.75,3 Z"
							id="形状"
							fill="#FED831"
						></path>
						<polygon
							id="矩形-copy-67"
							transform="translate(12.000000, 12.000000) scale(-1, -1) rotate(-90.000000) translate(-12.000000, -12.000000) "
							points="-1.46957616e-15 0 24 0 24 24 -1.46957616e-15 24"
						></polygon>
					</g>
				</g>
			</g>
		</svg>
	);
}

Icon.propTypes = {
	className: PropTypes.string,
	grade: PropTypes.string,
};
